package ModelLayer;


public class Contractor extends Person
{
    private String bankAccount;
    
    public Contractor(int id, String name, String email, String phoneNumber, String bankAccount)
    {
          super(id,name, email, phoneNumber);
          this.bankAccount = bankAccount;
    }
    
    public String getBankAccount()
    {
        return bankAccount;
    }
    
    public void setBankAccount(String bankAccount)
    {
        this.bankAccount = bankAccount;
    }
  
}
